Skip to main content

recordLoudness

Type​

function

Summary​

Returns the volume of the sound currently being recorded in decibels

Syntax​

the recordLoudness
recordLoudness()

Description​

Use the recordLoudness function to determine whether a sound is currently being made while recording is taking place, or to provide feedback on the input sound level.

The value returned is in decibels with 0.0 being the loudest sound and -160.00 being the quietest sound.

Examples​

the recordLoudness
if the recordLoudness is zero then pauseRecording

Value​

NameTypeDescription

return

The recordLoudness function returns a positive integer.

command: record sound

control structure: function

glossary: property, return

property: playLoudness, recording, beepLoudness

Compatibility and Support​

Introduced

LiveCode 1.1

OS

mac

ios

android

web

Platforms

desktop

mobile

Thank you for your feedback!

Was this page helpful?